package com.hoas.quickstart.threads.chapter03.chapter03_1_4_01;

public class ThreadB extends Thread {

    private Object lock;

    public ThreadB(Object lock) {
        this.lock = lock;
    }

    @Override
    public void run() {
        Service service = new Service();
        service.testMethod( lock );
    }
}
